package com.zdw.oauth.dto;

import com.zdw.common.parent.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 部门
 * </p>
 *
 * @author 卓德文
 * @since 2023-07-25
 */
@Getter
@Setter
@ApiModel(value = "DepartmentEntity对象", description = "部门")
public class DepartmentSelectDto extends BasePage {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("部门编码")
    private String code;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("状态(0:启用;1:禁用)")
    private Integer state;

    @ApiModelProperty("上级部门ID")
    private Integer parentId = 0;

}
